﻿namespace BestEasyCMS.Service.Views.Security
{
    public class ResourceView : ViewBase
    {
        /// <summary>
        /// 父ID
        /// </summary>
        public long ParentId { get; set; }
        /// <summary>
        /// 资源类型
        /// </summary>
        public ResourceType ResourceType { get; set; }
        /// <summary>
        /// 资源标题
        /// </summary>
        public string ResourceName { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 排序 [数值越大越靠前]
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
    }
}
